<div class="zs-body" data-ng-init="formInit('gzddtj', {
        keyField:'id',
        randomFields:['id'],
        orderObject:{id:0}
    }) && loadData('gzddtj');setConHei();">
    <div class="zs-map-tool">
        <div class="location">
            <a href="javascript:;">首页</a>
            <i class="right-arr"></i>
            <a href="javascript:;">行政管理</a>
            <i class="right-arr"></i>
            <a href="javascript:;">调度统计</a>
        </div>
       <!-- <div class="option">
            <input type="button" class="zs-btn orange" value="新建" 
                ng-click="addRow('gzddtj') && openWindow('edit');"/>
            <input type="button" class="zs-btn orange" value="编辑" 
                ng-click="editRow('gzddtj', gzddtj.sRows[0]) && openWindow('edit')"/>
            <input type="button" class="zs-btn orange" value="删除 "
                ng-click="delEntitys('gzddtj')"/>
        </div>-->
    </div>
    <div class="zs-content" style="position:unset">
        <div class="zs-nice-tab idTabs">
			<div class="tool item" style="margin-left:6px;">
            	<!--<span class="search-warpper">
                    <i class="icon"></i>
                    <input type="text" class="zs-input" placeholder="唯一编号" ng-model="gzddtj.queryObject['id']"/>
                </span>-->
            	<span class="search-warpper">
                    <i class="icon"></i>
                    <input type="text" class="zs-input" placeholder="调度年度" ng-model="gzddtj.queryObject['sddnd']"/>
                </span>
            	<span class="search-warpper">
                    <i class="icon"></i>
                    <input type="text" class="zs-input" placeholder="调度月份" ng-model="gzddtj.queryObject['sddyf']"/>
                </span>
            	<!--<span class="search-warpper">
                    <i class="icon"></i>
                    <input type="text" class="zs-input" placeholder="资源类型" ng-model="gzddtj.queryObject['szylx']"/>
                </span>
            	<span class="search-warpper">
                    <i class="icon"></i>
                    <input type="text" class="zs-input" placeholder="使用次数" ng-model="gzddtj.queryObject['ssycs']"/>
                </span>
            	<span class="search-warpper">
                    <i class="icon"></i>
                    <input type="text" class="zs-input" placeholder="成本消耗" ng-model="gzddtj.queryObject['scbxh']"/>
                </span>-->
            </div>
            <div class="operation item" style="margin-top:7px;">
				<input type="button" class="zs-btn orange" value="查询" ng-click="loadData('gzddtj')" />
            </div>
        </div>
        <div class="date-container">
            <div id="zpgwd">
                <div class="zs-data-table">
                    <div class="container">
                        <table>
                            <thead>
                                <tr>
                                    <th>
                                        <input id="allCheckbox" type="checkbox"
                                            ng-click="selectAll('gzddtj','allCheckbox');" />
                                    </th>
									<!--<th>唯一编号</th>-->
									<th>调度年度</th>
									<th>调度月份</th>
									<th>资源类型</th>
									<th>使用次数</th>
									<th>成本消耗</th>
                                </tr>
                            </thead>
                            <tbody>
                                <tr ng-repeat="r in gzddtj.datas">
                                    <td>
                                        <input type="checkbox"
                                            ng-click="selectRow('gzddtj',r);"
                                            ng-model="r.selected" />
                                    </td>
									<!--  唯一编号 -->
            						<!--<td>
                                        <a ng-click="editRow('gzddtj',r) && openWindow('edit');">
                                            <label ng-bind="r.id"></label>
                                        </a>
                                   </td>-->
									<!--  调度年度 -->
            						<td>
                                        <a ng-click="editRow('gzddtj',r) && openWindow('edit');">
                                            <label ng-bind="r.sddnd"></label>
                                        </a>
                                   </td>
									<!--  调度月份 -->
            						<td>
                                        <a ng-click="editRow('gzddtj',r) && openWindow('edit');">
                                            <label ng-bind="r.sddyf"></label>
                                        </a>
                                   </td>
									<!--  资源类型 -->
            						<td>
                                        <a ng-click="editRow('gzddtj',r) && openWindow('edit');">
                                            <label ng-bind="r.szylx"></label>
                                        </a>
                                   </td>
									<!--  使用次数 -->
            						<td>
                                        <a ng-click="editRow('gzddtj',r) && openWindow('edit');">
                                            <label ng-bind="r.ssycs"></label>
                                        </a>
                                   </td>
									<!--  成本消耗 -->
            						<td>
                                        <a ng-click="editRow('gzddtj',r) && openWindow('edit');">
                                            <label ng-bind="r.scbxh"></label>
                                        </a>
                                   </td>
                                </tr>
                            </tbody>
                        </table>
                    </div>
                </div>
                <div class="zs-pagination-box">
                    <ag-Page fn='gzddtj'></ag-Page>
                </div>
            </div>
        </div>

        <div ag-Window id="edit" title="调度统计编辑" width='560px' height='286px'>
            <div class="zs-form-tab ibox">
                <form name="form" novalidate>
                    <table width="100%">
                        <tbody>
          					<!--<tr>
                                <td class="text" width="20%">唯一编号</td>
                                <td class="left" width="30%">
                                	<input type="text" ng-model="gzddtj.editRow.id" class="zs-input" />
                                </td>
                            </tr>-->
          					<tr>
                                <td class="text" width="20%">调度年度</td>
                                <td class="left" width="30%">
                                	<input type="text" ng-model="gzddtj.editRow.sddnd" class="zs-input" />
                                </td>
                            </tr>
          					<tr>
                                <td class="text" width="20%">调度月份</td>
                                <td class="left" width="30%">
                                	<input type="text" ng-model="gzddtj.editRow.sddyf" class="zs-input" />
                                </td>
                            </tr>
          					<tr>
                                <td class="text" width="20%">资源类型</td>
                                <td class="left" width="30%">
                                	<input type="text" ng-model="gzddtj.editRow.szylx" class="zs-input" />
                                </td>
                            </tr>
          					<tr>
                                <td class="text" width="20%">使用次数</td>
                                <td class="left" width="30%">
                                	<input type="text" ng-model="gzddtj.editRow.ssycs" class="zs-input" />
                                </td>
                            </tr>
          					<tr>
                                <td class="text" width="20%">成本消耗</td>
                                <td class="left" width="30%">
                                	<input type="text" ng-model="gzddtj.editRow.scbxh" class="zs-input" />
                                </td>
                            </tr>
                        </tbody>
                        <tfoot>
                            <tr>
                                <td colspan="4">
                                    <input type="button" name="ok" value="保存" class="zs-btn c-red"
                                        ng-click="formValidate(form) && save('gzddtj', gzddtj.editRow, saveCloseWindow)"/>
                                    <input type="button" name="ok" value="取消" class="zs-btn c-green" 
                                        ng-click="closeWindow('edit')" />
                                </td>
                            </tr>
                        </tfoot>
                    </table>
                </form>
            </div>
        </div>
    </div>
</div>